﻿namespace Dcms.IDAL
{
    using Dcms.Model;
    using System;
    using System.Data;

    public interface IDcms_CandidateRecordDAL
    {
        Dcms_CandidateRecordModel AddModel(Dcms_CandidateRecordModel model);
        bool DeleteAllCheck(string AllID);
        void DeleteModelByID(int ID);
        string GetDataCount(string SqlStr);
        DataSet GetDataListByPage(string SqlStr, int CurPage, int PageSize);
        Dcms_CandidateRecordModel GetModelByID(int ID);
        DataSet GetModelList();
        Dcms_CandidateRecordModel Update(Dcms_CandidateRecordModel model);
        bool UpdateState(string AllID, int StateValue);
    }
}

